import ajax from "@/axios/Ajax";

//采购单查询
export function purOrderQuery(params) {
  return ajax({
    url: "/purchase/order/list",
    method: "get",
    params,
  });
}

//采购单新增
export function purOrderAdd(data) {
  return ajax({
    url: "/purchase/order/add",
    method: "put",
    data,
  });
}
